home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
violencia
/
Brink_of_Alienation_2.swf
/
scripts
/
DefineButton2_557
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2006-01-11
|
3KB
|
111 lines
on(release){
if(_root.checkpoint == 9)
{
tellTarget("_root")
{
gotoAndStop("checkpointi");
_root.continues -= 1;
_root.cont._visible = false;
_root.cont.gotoAndStop(1);
_root.health = 100;
_root.grenade = 3;
}
}
else if(_root.checkpoint == 8)
{
tellTarget("_root")
{
gotoAndStop("checkpointh");
_root.continues -= 1;
_root.cont._visible = false;
_root.cont.gotoAndStop(1);
_root.health = 100;
_root.grenade = 3;
}
}
else if(_root.checkpoint == 7)
{
tellTarget("_root")
{
gotoAndStop("checkpointg");
_root.continues -= 1;
_root.cont._visible = false;
_root.cont.gotoAndStop(1);
_root.health = 100;
_root.grenade = 3;
}
}
else if(_root.checkpoint == 6)
{
tellTarget("_root")
{
gotoAndStop("checkpointf");
_root.continues -= 1;
_root.cont._visible = false;
_root.cont.gotoAndStop(1);
_root.health = 100;
_root.grenade = 3;
}
}
else if(_root.checkpoint == 5)
{
tellTarget("_root")
{
gotoAndStop("checkpointe");
_root.continues -= 1;
_root.cont._visible = false;
_root.cont.gotoAndStop(1);
_root.health = 100;
_root.grenade = 3;
}
}
else if(_root.checkpoint == 4)
{
tellTarget("_root")
{
gotoAndStop("checkpointd");
_root.continues -= 1;
_root.cont._visible = false;
_root.cont.gotoAndStop(1);
_root.health = 100;
_root.grenade = 3;
}
}
else if(_root.checkpoint == 3)
{
tellTarget("_root")
{
gotoAndStop("checkpointc");
_root.continues -= 1;
_root.cont._visible = false;
_root.cont.gotoAndStop(1);
_root.health = 100;
_root.grenade = 3;
}
}
else if(_root.checkpoint == 2)
{
tellTarget("_root")
{
gotoAndStop("checkpointb");
_root.continues -= 1;
_root.cont._visible = false;
_root.cont.gotoAndStop(1);
_root.health = 100;
_root.grenade = 3;
}
}
else if(_root.checkpoint == 1)
{
tellTarget("_root")
{
gotoAndStop("checkpointa");
_root.continues -= 1;
_root.cont._visible = false;
_root.cont.gotoAndStop(1);
_root.health = 100;
_root.grenade = 3;
}
}
}